package com.joven.shelltest.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.joven.shelltest.dto.CommentsDto;
import com.joven.shelltest.entity.Comments;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 评论索引表 Mapper 接口
 * </p>
 *
 * @author joven
 * @since 2024-11-08
 */
public interface CommentsMapper extends BaseMapper<Comments> {

    List<CommentsDto> getCommentsList(@Param("articleId") Long articleId);
}
